<?php

function parallax_addthis_markup_options_alter(&$options) {
  // To apply this to the block implementation.
  if (isset($options['#block']) &&
      isset($options['#display']['type']) && $options['#display']['type'] == 'addthis_basic_toolbox')
  {
    $options['#display']['settings']['share_services'] = 'facebook, twitter,email,compact';
  }
}

function parallax_preprocess_block(&$vars){
	/* Set shortcut variables */
 	$block_id = $vars['block']->module . '-' . $vars['block']->delta;
  	$classes = &$vars['classes_array'];

  	/* Add clearfix to each block */
  	$classes[] = 'clearfix';
}